package com.wu.sumsolution;

/**
 * 求1+2+3+...+n
 * @author lynn
 * @date 2020/8/20 - 15:26
 */
public class Solution {
    public int Sum_Solution(int n) {
        return n * (1 + n) >> 2;
    }
}
